﻿#ifndef WRWORKTCPCOMMSERVERINTERFACEACTIVATOR
#define WRWORKTCPCOMMSERVERINTERFACEACTIVATOR

class WRWorkTcpCommServerObject;
class WRWorkTcpCommServerAffair;
class WRWorkTcpCommServerInterface;

#include <QString>

//表示工作TCP通讯服务器接口激活器。
class WRWorkTcpCommServerInterfaceActivator
{
public:
    //创建接口实例。
    virtual WRWorkTcpCommServerInterface* create(int index, WRWorkTcpCommServerObject* target, void* reference) = 0;
    //创建接口实例。
    virtual WRWorkTcpCommServerInterface* create(int index, WRWorkTcpCommServerAffair* target, void* reference) = 0;
};

#endif // WRWORKTCPCOMMSERVERINTERFACEACTIVATOR
